<?php
/**
 *
 * The runner for config setup for the PHPUnit3 tests
 *
 * @author Travis Swicegood <development [at] domain51 [dot] com>
 *
 * @ignore
 */

/**
 *
 * Path to PHPUnit3
 *
 * Leave empty if PHPUnit3 is already in your include_path.
 *
 */
if (!isset($config['phpUnit_path'])) {
    $config['phpUnit_path'] = '';
}


/**
 *
 * An array of paths to various code that must be put in the include_path for
 * Solar to know about it.
 *
 * Note that the array is reversed, so priority is given to the last path in the
 * array.
 *
 */
if (!isset($config['code_path'])) {
    $config['code_path'] = array();
}
    
$config['code_path'] = array(
    'code' => implode(DIRECTORY_SEPARATOR, array(dirname(__FILE__), '..', 'src')) . DIRECTORY_SEPARATOR,
    'support' => implode(DIRECTORY_SEPARATOR, array(dirname(__FILE__),'support')) . DIRECTORY_SEPARATOR
);


if (!isset($config['constants'])) {
    $config['constants'] = array();
}

$config['constants']['SUPPORT_CODE_PATH'] = $config['code_path']['support'];
$config['constants']['PIPES_TEST_MODE'] = true;

/**
 *
 * Nothing below this point should need to be changed.
 *
 * Setup the include_path based on the paths that were provided above.
 *
 */
if (!defined('GROUP_RUNNER')) {
    require dirname(__FILE__) . '/configRunner.php';
}

/**
 * Set error reporting to default reporting level in Ubuntu
 */
error_reporting(E_ALL & ~E_NOTICE);

 
?>
